<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <div id="test">
    <input type="text" v-model.lazy="msg">
    <input type="text" v-model.number="price">
    <input type="text" v-model.trim="prices">
  </div>

  <script src="../js/vue.js"></script>
  <script>
    new Vue({
      el: "#test",
      data: {
        msg:'asd',
        price:2,
        prices:'sdgf'
      }
    })
  </script>
</body>
</html>